def calculate_discounted_bill(bill_amount):



    if bill_amount < 100:
        final_bill = bill_amount
    elif 100 <= bill_amount < 200:
        final_bill = bill_amount * (1 - 0.1)
    else:
        final_bill = bill_amount * (1 - 0.15)

    print(f"The final bill amount after discount is {final_bill:.2f} yuan.")


def main():
    # Prompt the user to enter the bill amount
    # 提示用户输入账单金额
    bill_amount = float(input("Please enter the bill amount in yuan: "))
    # Call the calculate_discounted_bill function
    # 调用 calculate_discounted_bill 函数
    final_bill = calculate_discounted_bill(bill_amount)
    # Print the final bill amount
    # 打印最终账单金额
    # print(f"The final bill amount after discount is {final_bill} yuan.")


if __name__ == "__main__":
    main()